package com.nb.fly.service;

import com.nb.fly.request.QueryShopRequest;
import com.nb.fly.request.SaveShopRequest;
import com.nb.fly.request.UpdateShopRequest;
import com.nb.fly.response.ShopListVO;

/**
 * ${NMAE}
 *
 * @author Gwg
 * @date 2020/6/28
 **/
public interface ShopService {

    /**
     * 新建超市
     * @param saveShopRequest
     * @throws Exception
     */
    void create(SaveShopRequest saveShopRequest) throws Exception;

    /**
     *查询超市列表
     * @param request
     * @return
     * @throws Exception
     */
    ShopListVO queryShop(QueryShopRequest request) throws  Exception;

    /**
     * 修改超市数据
     * @param request
     * @throws Exception
     */
    void update(UpdateShopRequest request) throws Exception;
}
